package com.tedu.openmedical.medicalsystem.user.service;

import com.tedu.openmedical.medicalsystem.user.pojo.dto.UserLoginParam;
import com.tedu.openmedical.medicalsystem.user.pojo.entity.User;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

public interface UserService {

    Map<String, Object> login(UserLoginParam userLoginParam, HttpServletRequest httpServletRequest);

    User queryUserByPhone(String phone);

    User findByUsername(String username);

    List<User> selectAll();
}
